package entity

import (
	"time"

	"shqsoft.cn/pasnj/base"
)

//CompAccoFlow2  对公变更审批 查看账户信息
type CompAccoFlow2 struct {
	ID     int       `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	ACNO   string    `gorm:"column:ACNO"`
	BANO   string    `gorm:"column:BANO;"`
	OPDT   string    `gorm:"column:OPDT;"`
	YWLX   string    `gorm:"column:YWLX;"`
	ITNM   string    `gorm:"column:ITNM"`
	CUNM   string    `gorm:"column:CUNM;"`
	FPNO   int       `gorm:"column:FPNO;"`
	PPNO   int       `gorm:"column:PPNO;"`
	ACBL   float64   `gorm:"column:ACBL;"`
	YEAL   float64   `gorm:"column:YEAL;"`
	VLDT   time.Time `gorm:"column:VLDT;"`
	MADT   time.Time `gorm:"column:MADT;"`
	RDNM   string    `gorm:"column:RDNM;"`
	ISDIVI bool      `gorm:"column:ISDIVI;"` //是否认定
}

//TableName 表名
func (CompAccoFlow2) TableName() string {
	return "V_COMP_ACCO_FLOW"
}

func CompAccoFlow2EF() base.EntityFunc {
	return func() interface{} {
		entity := CompAccoFlow2{}
		return &entity
	}
}
func CompAccoFlow2ESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []CompAccoFlow2
		return &entities
	}
}
func init() {
	base.DaoPoolObj.Put("CompAccoFlow2", base.NewDefaultDao(CompAccoFlow2EF(), CompAccoFlow2ESF(), nil))
}
